package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;
import com.sky.result.Result;

import java.util.List;

/**
 * PROJECT_NAME: sky-take-out
 * NAME: ShoppingCartService
 *
 * @AUTHOR: zhang
 * DATE: 2023/11/30
 * DESCRIPTION :
 */
public interface ShoppingCartService {
    void insertShoppingCart(ShoppingCartDTO shoppingCartDTO);

    Result<List<ShoppingCart>> selectShoppingCart();

    void subShoppingCart(ShoppingCartDTO shoppingCartDTO);

    void clearShoppingCart();

}
